/**
 * Copyright &copy; 2017-2020 <a href="http://www.fosung.com/">FosungFrame</a> All rights reserved.
 */
package com.fosung.frame.modules.assessment.entity;

import org.hibernate.validator.constraints.Length;

import com.fosung.frame.common.persistence.DataEntity;

/**
 * 考核期Entity
 * @author wu
 * @version 2017-08-29
 */
public class AssessmentTime extends DataEntity<AssessmentTime> {
	
	private static final long serialVersionUID = 1L;
	private String year;		// 年份编号
	private String state;		// 状态
	private String ids;
	
	public AssessmentTime() {
		super();
	}

	public AssessmentTime(String id){
		super(id);
	}

	@Length(min=1, max=64, message="年份编号长度必须介于 1 和 64 之间")
	public String getYear() {
		return year;
	}

	public void setYear(String year) {
		this.year = year;
	}
	
	@Length(min=1, max=1, message="状态长度必须介于 1 和 1 之间")
	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getIds() {
		return ids;
	}

	public void setIds(String ids) {
		this.ids = ids;
	}
	
}